﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    class TipReport
    {
        private int employeeCode;
        private int periodID;
        private double generalTip;
        private double charges;
        private double absences;
        private double subtotal;
        private bool deduction;
        private double totalTip;

        public void setEmployeeCode(int employeeCode)
        {
            this.employeeCode = employeeCode;
        }

        public void setPeriodID(int periodID)
        {
            this.periodID = periodID;
        }

        public void setGeneralTip(double generalTip)
        {
            this.generalTip = generalTip;
        }

        public void setCharges(double charges)
        {
            this.charges = charges;
        }

        public void setAbsences(double absences)
        {
            this.absences = absences;
        }

        public void setSubTotal(double subtotal)
        {
            this.subtotal = subtotal;
        }

        public void setDeductions(bool deduction)
        {
            this.deduction = deduction;
        }

        public void setTotalTip(double totalTip)
        {
            this.totalTip = totalTip;
        }

        public int getEmployeeCode()
        {
            return employeeCode;
        }

        public int getPeriodID()
        {
            return periodID;
        }

        public double getGeneralTip()
        {
            return generalTip;
        }

        public double getCharges()
        {
            return charges;
        }

        public double getAbsences()
        {
            return absences;
        }

        public double getSubTotal()
        {
            return subtotal;
        }

        public bool hasDeductions()
        {
            return deduction;
        }

        public double getTotalTip()
        {
            return totalTip;
        }
    }
}
